package com.xiaolong.log.msg;

public class ErrorLogMessage {

    /**
     * 请求类型
     */
    private  String httpMethod;

    /**
     * 请求类路径
     */
    private  String httpUrl;

    /**
     * 类名
     */
    private  String className;

    /**
     * 方法名称
     */
    private  String methodName;

    /**
     * 请求参数
     */
    private  String requestParam;


    /**
     * 开始时间
     */
    private  Long startTime;



    /**
     * 备注 发生异常会产生异常日志
     */
    private String remark;


    private String instanceIp;

    private String instanceName;

    private Integer instancePort;

    public String getHttpMethod() {
        return httpMethod;
    }

    public void setHttpMethod(String httpMethod) {
        this.httpMethod = httpMethod;
    }

    public String getHttpUrl() {
        return httpUrl;
    }

    public void setHttpUrl(String httpUrl) {
        this.httpUrl = httpUrl;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getRequestParam() {
        return requestParam;
    }

    public void setRequestParam(String requestParam) {
        this.requestParam = requestParam;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getInstanceIp() {
        return instanceIp;
    }

    public void setInstanceIp(String instanceIp) {
        this.instanceIp = instanceIp;
    }

    public String getInstanceName() {
        return instanceName;
    }

    public void setInstanceName(String instanceName) {
        this.instanceName = instanceName;
    }

    public Integer getInstancePort() {
        return instancePort;
    }

    public void setInstancePort(Integer instancePort) {
        this.instancePort = instancePort;
    }

    @Override
    public String toString() {
        return "ErrorLogMessage{" +
                "httpMethod='" + httpMethod + '\'' +
                ", httpUrl='" + httpUrl + '\'' +
                ", className='" + className + '\'' +
                ", methodName='" + methodName + '\'' +
                ", requestParam='" + requestParam + '\'' +
                ", startTime=" + startTime +
                ", remark='" + remark + '\'' +
                ", instanceIp='" + instanceIp + '\'' +
                ", instanceName='" + instanceName + '\'' +
                ", instancePort=" + instancePort +
                '}';
    }
}
